MyInvalRect
Handles a frame invalidation request. When creating a frame you must designate a callback function to invalidate a portion of the frame if necessary (in a manner similar to the MacOS Toolbox function callInvalRect
). The invalid portion can be updated later using theJMFrameUpdate
function. For example, this is how you would define your invalidation request function if you were to name it MyInvalRect:
void MyInvalRect(JMFrameRef frame, const Rect* dimens);
frame
- The frame that contains the area to be invalidated.
dimens
- A pointer to the dimensions of the frame.
DISCUSSION
This function is always called from within aMySetupPort
andMyRestorePort
pair.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help